﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using EraNet.Core.Model.SysManage;
using System.Data.Entity.ModelConfiguration;

namespace EraNet.Data.Mapping.SysManage
{
    public partial class SysCardsMap : EntityTypeConfiguration<SysCards>
    {
        public SysCardsMap()
        {
            this.ToTable("Era_SysCards");
            this.HasKey(a => a.Id);
            this.Property(a => a.CardNo).IsRequired();
            this.Property(a => a.CardPassword).IsRequired();
        }
    }
}
